package com.shop.merchant.po.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 'banxia'
 * @version 1.0
 * @description TODO
 * @date 2023/2/23 13:52
 */
@Data
@ApiModel(value="Merchant对象", description="商家信息")
public class MerchantDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "店铺名称")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "账号ID")
    private String account;

    //删除了密码
//    @ApiModelProperty(value = "密码")
//    private String password;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "储存为'merchant'即可")
    private String type;

    @ApiModelProperty(value = "状态 0:禁用，1:正常")
    private Integer status;


}
